package com.ruoyi.recommend.common;

/**
 * A triple : (userid, itemid, rating)
 *
 * @author liangguoning
 */
public class RatingInfo {

    public int userId;
    public int itemId;
    public double rating;


    @Override
    public String toString() {
        return userId + " , " + itemId + " : " + rating;
    }

    public RatingInfo() {

    }

    public RatingInfo(int userId) {
        this.userId = userId;
    }
}
